<?php
class Tools extends CActiveRecord
{
	/**
	 * Returns the static model of the specified AR class.
	 * @return Organizations the static model class
	 */
	public static function model($className=__CLASS__)
	{
		return parent::model($className);
	}

	/**
	 * @return string the associated database table name
	 */
	public function tableName()
	{
		return 'tools';
	}
	
	public function relations()
	{
		return array(
			'sitetoolRelation'=>array(self::HAS_MANY, 'SiteToolRelation', 'tool_ID'),
		);
	}
}
?>
